package com.shop.cereshop.app.dao.tim.redpacket;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.cereshop.app.tencent.im.model.redpacket.RedPacketAllocation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @description: 红包金额分配
 * @author zdd
 * @date 2025/9/3 14:30
 * @version 1.0
 */
@Mapper
public interface RedPacketAllocationMapper extends BaseMapper<RedPacketAllocation> {

    /**
     * 批量添加 cere_red_packet_allocation数据
     * @param list 红包金额分配列表
     * @return 影响行数
     */
    int batchInsert(List<RedPacketAllocation> list);


}
